FROM frolvlad/alpine-oraclejre8
MAINTAINER open-anpr
WORKDIR /app/open-anpr
COPY src/scripts/docker/entrypoint.sh /app/open-anpr
RUN chmod +x /app/open-anpr/entrypoint.sh

COPY target/open-anpr-app.jar /app/open-anpr/open-anpr-app.jar
EXPOSE 8080
ENTRYPOINT ["/app/open-anpr/entrypoint.sh"]
